using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class SysRoleEntity : EntityBase
{
public SysRoleTable TableSchema
{
get
{
return (SysRoleTable)_tableSchema;
}}

public SysRoleEntity()
{
_tableSchema = SysRoleTable.Current;
}

#region 属性列表

public Int32? RoleID
{
get { return Convert.ToInt32(GetData(SysRoleTable.C_ROLEID)); }
set { SetData(SysRoleTable.C_ROLEID, value); }
}

public String RoleName
{
get { return Convert.ToString(GetData(SysRoleTable.C_ROLENAME)); }
set { SetData(SysRoleTable.C_ROLENAME, value); }
}

public String Description
{
get { return Convert.ToString(GetData(SysRoleTable.C_DESCRIPTION)); }
set { SetData(SysRoleTable.C_DESCRIPTION, value); }
}

public String Status
{
get { return Convert.ToString(GetData(SysRoleTable.C_STATUS)); }
set { SetData(SysRoleTable.C_STATUS, value); }
}

public String CreateUserID
{
get { return Convert.ToString(GetData(SysRoleTable.C_CREATEUSERID)); }
set { SetData(SysRoleTable.C_CREATEUSERID, value); }
}

public DateTime? CreateDate
{
get { return Convert.ToDateTime(GetData(SysRoleTable.C_CREATEDATE)); }
set { SetData(SysRoleTable.C_CREATEDATE, value); }
}

public String ModifyUserID
{
get { return Convert.ToString(GetData(SysRoleTable.C_MODIFYUSERID)); }
set { SetData(SysRoleTable.C_MODIFYUSERID, value); }
}

public DateTime? ModifyDate
{
get { return Convert.ToDateTime(GetData(SysRoleTable.C_MODIFYDATE)); }
set { SetData(SysRoleTable.C_MODIFYDATE, value); }
}

#endregion
}
}